package io.rehuo.modules.app.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author shiguang
 * @date 2022年09月11日 21:29
 */
@Data
@ApiModel("用户基础信息2")
public class UserThreeFormEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "身份证正面")
    @NotBlank(message="params is not null")
    private String cardFront;

    @ApiModelProperty(value = "身份证反面")
    @NotBlank(message="params is not null")
    private String cardBack;

    @ApiModelProperty(value = "手持照片")
    @NotBlank(message="params is not null")
    private String holdImg;

    @NotBlank(message="params is not null")
    private String bankName;

    @NotBlank(message="params is not null")
    private String bankNo;

    @NotNull(message="params is not null")
    private Long bankId;
}
